<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
<script type="text/javascript">
    $(function () {
        $.ajax({
           url:"http://www.test.be/index.php",
           beforeSend:function (request) {
               request.setRequestHeader('auth-token','ds8ad897adf7');
           },
            success:function (result) {
                console.log(result);
            }
        });
    });
</script>
</html>